package com.qx.pethome.entity;

public class User {
    public static final boolean U_JOB_NO=false;
    public static final boolean U_JOB_YES=true;
    public static final boolean U_SEX_MAN=false;//领养人性别，0男
    public static final boolean U_SEX_WOMEN=true;//领养人性别，1女
    public static final boolean u_EXPERIENCE_NO=false;
    public static final boolean u_EXPERIENCE_YES=true;

    private Integer uId;//领养人编号
    private String uName;//领养人姓名
    private boolean uSex;//领养人性别，0男，1女
    private Integer uAge;//领养人年龄
    private String uPhone;//领养人电话
    private String uAddress;//领养人住址
    private boolean uJob;//领养人工作情况，0没工作，1有工作
    private String uMotive;//领养动机
    private boolean uExperience;//有无领养经验，0没经验，1有经验
    private String uEmail;//领养人邮箱
    private String uPassword;//领养人密码

    public User() {
    }

    public User(String uName, boolean uSex, Integer uAge, String uPhone, String uAddress, boolean uJob, String uMotive, boolean uExperience, String uEmail, String uPassword) {
        this.uName = uName;
        this.uSex = uSex;
        this.uAge = uAge;
        this.uPhone = uPhone;
        this.uAddress = uAddress;
        this.uJob = uJob;
        this.uMotive = uMotive;
        this.uExperience = uExperience;
        this.uEmail = uEmail;
        this.uPassword = uPassword;
    }

    public User(Integer uId, String uName, boolean uSex, Integer uAge, String uPhone, String uAddress, boolean uJob, String uMotive, boolean uExperience, String uEmail, String uPassword) {
        this.uId = uId;
        this.uName = uName;
        this.uSex = uSex;
        this.uAge = uAge;
        this.uPhone = uPhone;
        this.uAddress = uAddress;
        this.uJob = uJob;
        this.uMotive = uMotive;
        this.uExperience = uExperience;
        this.uEmail = uEmail;
        this.uPassword = uPassword;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public boolean isuSex() {
        return uSex;
    }

    public void setuSex(boolean uSex) {
        this.uSex = uSex;
    }

    public Integer getuAge() {
        return uAge;
    }

    public void setuAge(Integer uAge) {
        this.uAge = uAge;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public String getuAddress() {
        return uAddress;
    }

    public void setuAddress(String uAddress) {
        this.uAddress = uAddress;
    }

    public boolean isuJob() {
        return uJob;
    }

    public void setuJob(boolean uJob) {
        this.uJob = uJob;
    }

    public String getuMotive() {
        return uMotive;
    }

    public void setuMotive(String uMotive) {
        this.uMotive = uMotive;
    }

    public boolean isuExperience() {
        return uExperience;
    }

    public void setuExperience(boolean uExperience) {
        this.uExperience = uExperience;
    }

    public String getuEmail() {
        return uEmail;
    }

    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    @Override
    public String toString() {
        return "领养人表{" +
                "领养人编号=" + uId +
                ", 领养人姓名=" + uName + '\'' +
                ", 领养人性别，0男，1女.=" + uSex +
                ", 领养人年龄=" + uAge +
                ", 领养人电话=" + uPhone + '\'' +
                ", 领养人住址=" + uAddress + '\'' +
                ", 领养人工作情况，0没工作，1有工作.=" + uJob +
                ",领养动机=" + uMotive + '\'' +
                ", 有无领养经验，0没经验，1有经验.=" + uExperience +
                ", 领养人邮箱=" + uEmail + '\'' +
                ", 领养人密码=" + uPassword + '\'' +
                '}';
    }
}
